import { createApp } from 'vue'  
import ElementPlus from 'element-plus'  
import 'element-plus/dist/index.css'  
import axios from 'axios' // 修正了这里的拼写错误
import App from './App.vue'  
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn'; // 引入中文语言包

// 引入 Vue Router
import { createRouter, createWebHistory } from 'vue-router'
// 引入路由配置
import routes from './router'

const app = createApp(App)  
app.use(ElementPlus)  
// 使用路由配置
app.use(createRouter({
  history: createWebHistory(),
  routes
}))
app.mount('#app')